package domain;


import java.util.List;

import data.*;

public class GestorRoles implements IGestorRoles{
	
	IRolDAO ddao = new JDBCRolDAO();
    
   		public String selectRolOID(String rolid) {
   			return ddao.selectRolOID(rolid);
			 
		}
		
		
		public int selectRol(Rol rol) {
			return ddao.selectRol(rol);
		}
		
		
		public List<Rol> selectAllRoles() {
			return ddao.selectAllRoles();
		}
}